package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.Permission;

import java.util.Set;

public interface PermissionService extends IService<Permission> {

    public Set<String> queryByRoleIds(Integer[] roleIds);

    public Set<String> queryByRoleId(Integer roleId);

    public boolean checkSuperPermission(Integer roleId) ;

    public void deleteByRoleId(Integer roleId) ;
}
